<!DOCTYPE html>
<html>
<head>
    {{! Document Settings }}
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />

    {{! Page Meta }}
    <title>{{meta_title}}</title>
    <meta name="description" content="{{meta_description}}" />

    <meta name="HandheldFriendly" content="True" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />

    <link rel="shortcut icon" href="{{asset "favicon.ico"}}">

    <script type="text/javascript" src="{{asset "js/vendor/fastclick.js"}}"></script>
    <script type="text/javascript" src="{{asset "js/vendor/modernizr.js"}}"></script>

    {{! Styles'n'Scripts }}

    <link rel="stylesheet" type="text/css" href="{{asset "css/normalize.css"}}" />
    <link rel="stylesheet" type="text/css" href="{{asset "css/foundation.min.css"}}" />
    <!--[if lte IE 8]>
        <link rel="stylesheet" type="text/css" href="{{asset "css/outdatedBrowser.min.css"}}">
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="{{asset "fonts/foundation-icons/foundation-icons.css"}}" />
    <link rel="stylesheet" type="text/css" href="{{asset "css/styles.css"}}" />
    <link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Open+Sans:300,700,400|Source+Sans+Pro:300,400,600,700,900,300italic,400italic,600italic,700italic,900italic" />

    {{! Ghost outputs important style and meta data with this tag }}
    {{ghost_head}}
</head>
<body class="{{body_class}}">

<div id="outdated">
    <h6>Your browser is out-of-date!</h6>
    <p>Update your browser to view this website correctly. <a id="btnUpdate" href="http://outdatedbrowser.com/">Update my browser now</a></p>
</div>

<nav class="top-bar hide-for-large-up" data-topbar {{#if @blog.cover}}style="background: none"{{/if}}>
  <ul class="title-area">
    <li class="name">

    </li>
    <li class="home"><a class="fi-home" href="{{@blog.url}}"></a></li>
    <li class="toggle-topbar"><a href="#" id="trigger-overlay" class="fi-list"></a></li>
  </ul>

<div class="overlay overlay-scale">
    <button type="button" class="overlay-close">Close</button>
    <nav>
        <ul>
            <li><a href="{{@blog.url}}">Home</a></li>
        </ul>
    </nav>
</div>

</nav>

<div class="row">

<div class="small-16 medium-16 large-4 columns right head-area{{#if @blog.cover}} bgimage{{/if}}" {{#if @blog.cover}}style="background-image: url({{@blog.cover}})"{{/if}}>

<header class="site-head">
    <div class="vertical">
        <div class="site-head-content inner">
            <ul class="side-nav blog-menu show-for-large-up">
                <li><a class="fi-home" href="{{@blog.url}}"></a></li>
                <li><a class="fi-torso" href="{{@blog.url}}/about"></a></li>
                <li><a class="fi-mail" href="{{@blog.url}}/contact"></a></li>
            </ul>
            {{#if @blog.logo}}<a class="blog-logo" href="{{@blog.url}}"><img alt="{{@blog.title}}" src="{{@blog.logo}}" alt="Blog Logo" /></a>{{/if}}
            <h1 class="blog-title">{{@blog.title}}</h1>
            <hr>
            <p class="blog-description">{{@blog.description}}</p>
            <div class="blog-network">
<!--                 <a href="#" class="fi-social-pinterest"></a>
                <a href="#" class="fi-social-linkedin"></a>
                <a href="#" class="fi-social-behance"></a>
                <a href="#" class="fi-social-deviant-art"></a>
                <a href="#" class="fi-social-dribbble"></a>
                <a href="#" class="fi-social-flickr"></a>
                <a href="#" class="fi-social-github"></a>
                <a href="#" class="fi-social-skype"></a>
                <a href="#" class="fi-social-snapchat"></a>
                <a href="#" class="fi-social-steam"></a>
                <a href="#" class="fi-social-xbox"></a>
                <a href="#" class="fi-social-reddit"></a> -->
                {{#if socialnetwork.googleplus}}
                  <a href="{{socialnetwork.googleplus}}" class="fi-social-google-plus"></a>
                {{/if}}
                {{#if socialnetwork.github}}
                  <a href="{{socialnetwork.github}}" class="fi-social-github"></a>
                {{/if}}
                {{#if socialnetwork.twitter}}
                  <a href="{{socialnetwork.twitter}}" class="fi-social-twitter"></a>
                {{/if}}
                {{#if socialnetwork.facebook}}
                  <a href="{{socialnetwork.facebook}}" class="fi-social-facebook"></a>
                {{/if}}
            </div>
        </div>
    </div>
</header>

</div>


<div class="small-16 medium-16 large-12 columns main-column left">
    {{! Everything else gets inserted here }}
    {{{body}}}
</div>

</div>

    {{! Ghost outputs important scripts and data with this tag }}
    {{ghost_foot}}

    {{! The main JavaScript file for Ichi }}
    <!--[if lte IE 8]>
        <script type="text/javascript" src="{{asset "js/outdatedBrowser.min.js"}}"></script>
    <![endif]-->
    <script type="text/javascript" src="{{asset "js/min/built.js"}}"></script>

    <script>
      $(document).foundation();
    </script>

    {{#if @blog.googleAnalytics}}
    <script>
    (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
      (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
      m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
    })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

    ga('create', '{{@blog.googleAnalytics}}', 'auto');
    ga('send', 'pageview');

    </script>
    {{/if}}
</body>
</html>
